PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFLineAnnotation Class / setLineColor Method
A com.o2sol.pdf4java.graphics.colors.PDFColor specifying the line color with which to stroke the annotation's line.
In This Topic
    setLineColor Method
    In This Topic
    Sets the annotation line color.
    The color must be Gray, RGB or CMYK.
    Syntax
    public void setLineColor( 
       PDFColor value
    )

    Parameters

    value
    A com.o2sol.pdf4java.graphics.colors.PDFColor specifying the line color with which to stroke the annotation's line.
    Exceptions
    ExceptionDescription
    When the property is set to a color other than Gray, RGB or CMYK.
    See Also